<?php
include ("session.php");
include ("./include/core.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<title><?php print $_SESSION["accname"]; ?>:IMWcp</title>
	<meta http-equiv="content-type" content="text/html;charset=utf8" />
	<link href="template/default/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="b">
	<div id="b_b">
	<div class="b_b"><h4 align="center">Приветствуем вас в личном кабинете сервера <?php echo "<i>$servername</i>"; ?> !</h4>
	<table>
		<tr><td><center><div id="menu">
			<div class="menu">	
				<a href="?do=main">Главная</a> &middot;
				<a href="?do=vote">Голосовать</a> &middot;
				<a href="?do=store">Магазин</a> &middot;
				<a href="?do=edit">Работа с аккаунтом</a> &middot;
				<a href="?do=ticket">Написать администрации</a> &middot;
				<a href="?do=about">О нас</a>  &middot;
				<a href="logout.php">Выход</a>
		</div></center></td></tr></div></div>

		<tr><td><div class=b_b>
			<?php
				if($_GET['do']=="main") include ("module/main.php"); 
				elseif($_GET['do']=="vote") include ("module/vote.php"); 
				elseif($_GET['do']=="store") include ("module/shop.php"); 
				elseif($_GET['do']=="edit") include ("module/accedit.php"); 
				elseif($_GET['do']=="ticket") include ("module/ticket.php"); 
				elseif($_GET['do']=="about") include ("module/about.php");
				else include ("module/main.php");
			?>
			</div></td></tr>
	</table></div>
<div class="b_f"><p class="copy">Powered by <i>iUnro</i> & <i>ReLoad^</i> &copy; <?php echo date("Y"); ?>.</p></div></div></div>
</body>
</html>
